package com.sdry.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdry.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

/**
 * @program: info_sdry
 * @description: 部门
 * @author: cb
 * @create: 2020-02-17 13:57
 **/
@Data
@Builder
@ApiModel(value = "部门")
public class SysDept extends BaseEntity {
    /**主键ID**/
    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long deptId;
    /**部门名称**/
    @ApiModelProperty(value = "部门名称")
    private String deptName;
    /**上级部门ID**/
    @ApiModelProperty(value = "上级部门ID")
    private Long deptParentId;
    /**部门层级**/
    @ApiModelProperty(value = "部门层级")
    private String level;
    /**顺序**/
    @ApiModelProperty(value = "顺序")
    private Integer seq;
    /**备注**/
    @ApiModelProperty(value = "备注")
    private String remark;

    @Tolerate
    SysDept(){}

}
